<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li  class="active"><a href="{:url('register/adduser')}">添加新用户</a></li>

		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('register/adduser')}">
			<div class="form-group">
				<label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>姓名</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-user_login" name="name">
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_pass" class="col-sm-2 control-label"><span class="form-required">*</span>手机号</label>
				<div class="col-md-6 col-sm-10">
					<input type="number" class="form-control" id="input-user_pass" name="phone" >
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_email" class="col-sm-2 control-label"><span class="form-required">*</span>性别</label>
				<div class="col-md-6 col-sm-10">
					<input type="radio" class=""  name="sex" value="1" checked> 男
					<input type="radio" class="" name="sex" value="2"> 女
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_age" class="col-sm-2 control-label"><span class="form-required">*</span>年龄</label>
				<div class="col-md-6 col-sm-10">
					<input type="number" class="form-control" id="input-user_age" name="age">
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_reg" class="col-sm-2 control-label"><span class="form-required"></span>邀请人</label>
				<div class="col-md-6 col-sm-10">
					<input type="number" class="form-control" id="input-user_reg" name="pid" placeholder="手机号">
				</div>
			</div>
			<div class="form-group">
				<label for="input-company" class="col-sm-2 control-label"><span class="form-required"></span>城市</label>
				<div class="col-md-6 col-sm-10">
					<select class="form-control" name="company_id" id="input-company">
						<foreach name="list" item="vo">
							<option value="{$vo.id}">{$vo.name}</option>
						</foreach>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_address" class="col-sm-2 control-label"><span class="form-required"></span>地址</label>
				<div class="col-md-6 col-sm-10">
					<input id="input-user_address" class="form-control"  name="address">
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_mark" class="col-sm-2 control-label"><span class="form-required"></span>备注</label>
				<div class="col-md-6 col-sm-10">
					<textarea id="input-user_mark" cols="75" rows="5" name="mark"></textarea>
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_levmoney" class="col-sm-2 control-label"><span class="form-required"></span>入会费用</label>
				<div class="col-md-6 col-sm-10">
					<input id="input-user_levmoney" type="number" class="form-control"  name="money">
				</div>
			</div>
			<!--<div class="form-group">-->
				<!--<label for="input-user_lev" class="col-sm-2 control-label"><span class="form-required"></span>等级</label>-->
				<!--<div class="col-md-6 col-sm-10">-->
					<!--<select name="lev" id="input-user_lev" style="width: 20%;height:30px;margin-bottom: 20px">-->
						<!--<foreach name="rank" item="lev">-->
							<!--<option value="{$lev.id}" style="margin:5px"> {$lev.cell}</option>-->
						<!--</foreach>-->
					<!--</select>-->
				<!--</div>-->
			<!--</div>-->
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>